import Vue from "vue";
import App from "./App.vue";
// import App from "@/text/one.vue";
import router from "./router";
import ElementUI from "element-ui";
// import "element-ui/lib/theme-chalk/index.css";
import "@/styles/index.scss";
import store from "./store";
// 全局注册组件
import components from "@/components/index";
Vue.use(components);
import BaiduMap from "vue-baidu-map";
Vue.use(BaiduMap, {
  /* Visit http://lbsyun.baidu.com/apiconsole/key for details about app key. */
  ak: "YOUR_APP_KEY",
});
Vue.use(ElementUI);
Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
